﻿using System;

namespace SeriesUtil.Helper
{
    public class ParserProfile
    {
        private String name, inFormat, outFormat;
        private Boolean absolute;
        private Guid id;

        public ParserProfile()
        {
            this.name = "";
            this.absolute = true;
            this.inFormat = "";
            this.outFormat = "";
            this.id = Guid.NewGuid();
        }

        public ParserProfile(String name, Boolean absolute, String inFormat, String outFormat)
        {
            this.name = name;
            this.absolute = absolute;
            this.inFormat = inFormat;
            this.outFormat = outFormat;
            this.id = Guid.NewGuid();
        }

        public String Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public String InFormat
        {
            get { return this.inFormat; }
            set { this.inFormat = value; }
        }

        public String OutFormat
        {
            get { return this.outFormat; }
            set { this.outFormat = value; }
        }

        public Boolean Absolute
        {
            get { return this.absolute; }
            set { this.absolute = value; }
        }

        public Guid Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
    }
}
